package day20171122.test07;

public class ClassLeader extends Student {
    private String duty;

    public ClassLeader() {
        duty = "class monitor";
    }

    public ClassLeader(String duty, String name, String college) {
        super(name, college);
        this.duty = duty;
    }

    public void print() {
        super.print();
        System.out.println("duty is  " + duty);
    }

}
